package com.onlinesys.service;

import java.sql.SQLException;
import java.util.List;

import com.onlinesys.beans.ProductDelivery;

public interface OutWareHouseService {

    public int getProductDeliveryTotalCount() throws SQLException;

    public List<ProductDelivery> getProductDeliveries(int startRow, int pageSize) throws SQLException;

    public List<ProductDelivery> searchProductDeliveries(int startRow, int pageSize, ProductDelivery pd) throws SQLException;

    public int searchProductDeliveriesTotalCount(ProductDelivery pd) throws SQLException;

	public ProductDelivery getProductDeliveryId(String id) throws SQLException;

	public void updateProductDelivery(ProductDelivery pd, String newTicketNum,
			String newDrawingNum, Integer newQuantity) throws SQLException;
}
